package singletonClient;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

public class SingletonClient extends Application {
	@Override
	 public void start(Stage primaryStage) {
        try {
        	Parent root = FXMLLoader.load(getClass().getClassLoader().getResource("cn/edu/scau/cmi/zengdefeng/Singleton/view.fxml"));

            primaryStage.setTitle("单例多例模式");
            primaryStage.setScene(new Scene(root));
            primaryStage.show();

        } catch(Exception e) {
            e.printStackTrace();
        }
	}

	public static void main(String[] args) {
		launch(args);
	}
}
